package com.edu.service;

import com.edu.bean.Cars;
import com.edu.bean.Carsdata;
import com.edu.bean.Page;

import java.util.List;

public interface CarService {
    Page<Cars> getAll(Cars car,int pageNum,int pageSize);
    Carsdata<Cars> selectCarsAll();
    Cars getById(int id);
    int addcars(Cars cars);
    int update(Cars car);
    int delete(int id);
}